﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace PropertyManagment.entity.dto {
    /// <summary>
    /// 菜单实体类
    /// </summary>
    public class SysMenuDto {
        /// <summary>
        /// 菜单id
        /// </summary>
        public long id { get; set; }
        /// <summary>
        /// 授权名
        /// </summary>
        public string name { get; set; }
        /// <summary>
        /// 菜单名
        /// </summary>
        public string title { get; set; }
        /// <summary>
        /// 菜单图标
        /// </summary>
        public string icon { get; set; }
        /// <summary>
        /// 菜单URL
        /// </summary>
        public string path { get; set; }
        /// <summary>
        /// 组件
        /// </summary>
        public string component { get; set; }

        /// <summary>
        /// 子菜单
        /// </summary>
        public List<SysMenuDto> children = new List<SysMenuDto>();
    }
}
